<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>淄博慧算企业管理咨询有限责任公司</title>
    <script type="text/javascript"
            src="__JS__/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="__CSS__/heming.css"/>
    <link rel="stylesheet" href="__CSS__/iconfont.css"/>
    <link rel="stylesheet" href="__CSS__/style.css"/>
    <link rel="stylesheet" href="__CSS__/index.css"/>
    <script src="__JS__/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery-ui.min.js"></script>
</head>

<style type="text/css">
    .m_m ul li.zc {
        height: 100%;
        height: 70px;
        background: rgba(0, 0, 0, 0.4) !important;
        background: #000000;
        font-size: 14px;
        padding: 25px 10px 0 10px;
    }

    .m_m ul li.zc a {
        margin: 0 5px;
    }

    .m_m ul li.zc div a {
        font-size: 12px;
        margin-right: 5px;
        float: right;
        color: #b0c0ca
    }

    #menu {
        margin: 0;
        height: 70px;
        padding: 0;
        position: fixed;
        list-style-type: none;
        z-index: 1070;
        width: 100%;
        min-width: 1200px;
        top: 0;
    }

    .wrapper_main {
        padding-top: 130px;
    }

    .warp_tit {
        width: 100%;
        height: 50px;
        line-height: 50px;
    }

    .warp_tit h2 {
        border-bottom: 2px solid #1e8ef7;
        float: left;
        font-size: 24px;
        color: #1e8ef7;
        font-weight: 100;
        width: 100px;
        text-align: center;
    }

    .warp_tit span {
        font-size: 14px;
        color: #666;
    }

    .result_text {
        margin-left: 0;
    }

    .result_type_text {
        font-size: 16px;
        color: #333;
        font-weight: normal;
    }

    .result_suggest a {
        color: #f00;
        font-weight: normal;
    }

    .warp_results_list {
        padding: 30px 0px;
        border-top: 1px solid #eee;
        border-bottom: 0;
    }

    .jg_container {
        padding-bottom: 5px;
    }

    .ssfomr {
        background: rgba(0, 0, 0, 0.1);
        padding: 10px;
        border-radius: 4px;
        margin-bottom: 25px;
    }

    .result_text {
        margin-left: 0px;
    }

    .result_suggest a {
        color: #f00
    }

    .wrp_cm1 .ssfomr_box .btn {
        padding: 0 40px;
    }

    .wrp_cm1 {
        float: left;
        background: #eee;
        background-size: 100%;
        position: relative
    }

    .mesWindow {
        border: #666 1px solid;
        background: #fff;
    }

    .mesWindowTop {
        border-bottom: #eee 1px solid;
        margin-left: 4px;
        padding: 3px;
        font-weight: bold;
        text-align: left;
        font-size: 12px;
    }

    .mesWindowContent {
        margin: 4px;
        font-size: 12px;
    }

    .mesWindow .close {
        height: 15px;
        width: 28px;
        border: none;
        cursor: pointer;
        text-decoration: underline;
        background: #fff
    }

</style>
<div id="menu" style=" background-color:#084d76;">
    <div class="m_banner">
        <div class="m_l"><img width="300" src="__IMG__/logo_w.png"/></div>
        <div class="m_m">
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="{:U('Qiming/index')}">起名</a></li>
                <li><a href="{:U('Heming/index')}">核名</a></li>
                <li class="active"><a href="{:U('Jingying/index')}">经营范围</a></li>
                <li><a href="{:U('Gongshang/index')}">工商材料</a></li>
                <li class="zc">
                    <if condition="$login eq 1">
                        <div><span
                                style=" color:#fff; margin-right:5px;max-width:120px; white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block; float:left">{$guest.name}</span>
                            <a href="{:U('Index/logout')}"><i class="iconfont"></i>退出</a>
                        </div>
                        <else/>
                        <a href="javascript:;" id="toLogin1" data-type="1">登录</a> <span style=" float:left">|</span> <a
                            href="javascript:;" id="toReg1" data-type="1">注册</a>
                    </if>
                </li>
            </ul>
        </div>
    </div>
</div>
<block name="include">
    <include file="Public:login"/>
</block>
<div class="wrapper">
    <div class="wrapper_main row" style=" width:1200px;">

        <div class="wrapper_left" style=" width:840px; padding:0px;">
            <div class="bn wrp_cm1 " style="width:840px;">
                <div class="ssfomr" style=" padding-right:0 ;width:840px;">
                    <div class="ssfomr_box hytype" style=" width:650px;">
                        <input placeholder="行业 如：网络科技" value="{$jy}" id="trade_tj" name="trade_tj"/>
                    </div>

                    <div class="ssfomr_box" style=" margin-right:0; ">
                        <button class="btn clicka" onclick="checkTJPamar()" data-type="2">一键生成</button>
                    </div>
                </div>
                <!--列表2-->
                <div class="Menu" id="List2" style=" width:522px; left:410px; padding:15px 0px 10px 10px">
                    <div class="Menu2">
                        <ul>
                            <div class="memu2_tit01">科技类</div>
                            <li onmousedown="getValue('trade_tj','网络科技');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">网络科技</a></li>
                            <li onmousedown="getValue('trade_tj','电子商务');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">电子商务</a></li>
                            <li onmousedown="getValue('trade_tj','信息技术');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">信息技术</a></li>
                            <li onmousedown="getValue('trade_tj','游戏');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">游戏</a></li>
                            <li onmousedown="getValue('trade_tj','电子');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">电子</a></li>
                            <li onmousedown="getValue('trade_tj','软件');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">软件</a></li>
                            <li onmousedown="getValue('trade_tj','新材料');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">新材料</a></li>
                            <li onmousedown="getValue('trade_tj','生物科技');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">生物科技</a></li>
                            <li onmousedown="getValue('trade_tj','教育科技');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">教育科技</a></li>

                        </ul>

                        <ul>
                            <div class="memu2_tit01">许可类</div>
                            <li onmousedown="getValue('trade_tj','投资管理');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">投资管理</a></li>
                            <li onmousedown="getValue('trade_tj','金融');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">金融</a></li>
                            <li onmousedown="getValue('trade_tj','资产');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">资产</a></li>
                            <li onmousedown="getValue('trade_tj','商业保理');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">商业保理</a></li>
                            <li onmousedown="getValue('trade_tj','融资租赁');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">融资租赁</a></li>
                            <li onmousedown="getValue('trade_tj','医疗器械');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">医疗器械</a></li>
                            <li onmousedown="getValue('trade_tj','人力资源');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">人力资源</a></li>
                            <li onmousedown="getValue('trade_tj','食品');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">食品</a></li>
                            <li onmousedown="getValue('trade_tj','劳务派遣');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">劳务派遣</a></li>


                        </ul>

                        <ul>
                            <div class="memu2_tit01">服务类</div>
                            <li onmousedown="getValue('trade_tj','广告');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">广告</a></li>
                            <li onmousedown="getValue('trade_tj','文化传播');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">文化传播</a></li>
                            <li onmousedown="getValue('trade_tj','建筑装潢');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">建筑装潢</a></li>
                            <li onmousedown="getValue('trade_tj','设计');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">设计</a></li>
                            <li onmousedown="getValue('trade_tj','美容美发');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">美容美发</a></li>
                            <li onmousedown="getValue('trade_tj','房地产中介');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">房地产中介</a></li>
                            <li onmousedown="getValue('trade_tj','物业管理');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">物业管理</a></li>
                            <li onmousedown="getValue('trade_tj','商务咨询');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">商务咨询</a></li>
                            <li onmousedown="getValue('trade_tj','企业管理');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">企业管理</a></li>
                        </ul>
                        <ul>
                            <div class="memu2_tit01">其 他</div>
                            <li onmousedown="getValue('trade_tj','贸易');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">贸易</a></li>
                            <li onmousedown="getValue('trade_tj','实业');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">实业</a></li>
                            <li onmousedown="getValue('trade_tj','制造');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">制造</a></li>
                            <li onmousedown="getValue('trade_tj','服饰');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">服饰</a></li>
                            <li onmousedown="getValue('trade_tj','化妆品');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">化妆品</a></li>
                            <li onmousedown="getValue('trade_tj','工程');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">工程</a></li>
                            <li onmousedown="getValue('trade_tj','农业');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">农业</a></li>
                            <li onmousedown="getValue('trade_tj','餐饮管理');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">餐饮管理</a></li>
                            <li onmousedown="getValue('trade_tj','物流');showAndHide('List2','hide');"><a
                                    href="javascript:void(0);">物流</a></li>

                        </ul>
                    </div>
                </div>

            </div>
            <div class="wrapper_left1" style=" padding-bottom: 55px;">
                <div class="huan" data-type="2" style=" margin-top:60px; clear:both; background:#f8931c">
                    <i class="iconfont">&#xe663;</i>换一批
                </div>
            </div>

        </div>

        <div class="wrapper_right ">
            <div class="sub01"></div>
            <div class="hm_r_box news_gg fixed">
                <a href="{:U('Qiming/index')}"><img src="__IMG__/qm_img.gif"></a>
                <a href="{:U('Heming/index')}"><img src="__IMG__/hm_img.gif"></a>
            </div>

        </div>
    </div>

    <div class="Copyright">
        <div class="dataly"><b>数据来源：</b>
            <span class="ly_title_li">国家知识产权局</span>
            <span class="ly_title_li">商标局</span>
            <span class="ly_title_li">版权局</span>
            <span class="ly_title_li">全国企业信用信息公示系统</span>
            <span class="ly_title_li"><a href="about.html" target="_blank">关于我们</a></span>
            <span class="ly_title_li"><a href="qa.html" target="_blank">起名问答</a></span>
            <span class="ly_title_li"><a href="newsList.html" target="_blank">起名百科</a></span>
        </div>

        <div class="bottom">
            <p>Copyright@2017 助企帮 版权所有 淄博慧算企业管理咨询有限责任公司 <a href="{:U('About/index')}">关于我们</a>|<a href="{:U('Contact/index')}">联系我们</a></p>
        </div>
    </div>
</div>
<style>
    .hui {
        padding: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
</style>

<script type="text/javascript">
    $('#ECS_treee2').click(function () {
        var clicked = $('.zc_login').hasClass('clicked');
        if (clicked) {
            $('#ECS_treee1').removeClass('hover');
            $('#ECS_treee2').addClass('hover');
            $('#ECS_treee1_BODY').css({'display': 'none'});
            $('#ECS_treee2_BODY').removeAttr('style');
            $('<li><i class="iconfont">&#xe645;</i><input type="text" placeholder="城市" class="city"></li>').prependTo('.reg>ul');
            autoComplete();
            $("#popup_dialog").show();//查找ID为popup的DIV show()显示#gray
        }
    });
    $('#ECS_treee1').click(function () {
        $('.city').parent().remove();
        $('#ECS_treee2').removeClass('hover');
        $('#ECS_treee1').addClass('hover');
        $('#ECS_treee2_BODY').css({'display': 'none'});
        $('#ECS_treee1_BODY').removeAttr('style')
        $("#popup_dialog").show();//查找ID为popup的DIV show()显示#gray
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {

        $(".top_nav").mousedown(function (e) {
            $(this).css("cursor", "move");//改变鼠标指针的形状
            var offset = $(this).offset();//DIV在页面的位置
            var x = e.pageX - offset.left;//获得鼠标指针离DIV元素左边界的距离
            var y = e.pageY - offset.top;//获得鼠标指针离DIV元素上边界的距离
            $(document).bind("mousemove", function (ev) { //绑定鼠标的移动事件，因为光标在DIV元素外面也要有效果，所以要用doucment的事件，而不用DIV元素的事件

                $(".popup").stop();//加上这个之后

                var _x = ev.pageX - x;//获得X轴方向移动的值
                var _y = ev.pageY - y;//获得Y轴方向移动的值

                $(".popup").animate({left: _x + "px", top: _y + "px"}, 10);
            });

        });

        $(document).mouseup(function () {
            $(".popup").css("cursor", "default");
            $(this).unbind("mousemove");
        });
    })
</script>

<script type="text/javascript">

    $(document).ready(function () {

        $(".top_nav").mousedown(function (e) {
            $(this).css("cursor", "move");//改变鼠标指针的形状
            var offset = $(this).offset();//DIV在页面的位置
            var x = e.pageX - offset.left;//获得鼠标指针离DIV元素左边界的距离
            var y = e.pageY - offset.top;//获得鼠标指针离DIV元素上边界的距离
            $(document).bind("mousemove", function (ev) { //绑定鼠标的移动事件，因为光标在DIV元素外面也要有效果，所以要用doucment的事件，而不用DIV元素的事件

                $(".popup").stop();//加上这个之后

                var _x = ev.pageX - x;//获得X轴方向移动的值
                var _y = ev.pageY - y;//获得Y轴方向移动的值

                $(".popup").animate({left: _x + "px", top: _y + "px"}, 10);
            });

        });

        $(document).mouseup(function () {
            $(".popup").css("cursor", "default");
            $(this).unbind("mousemove");
        });
    })

</script>
<script type="text/javascript">
    function checkTJPamar() {
        var industry = $('#trade_tj').val();
        if (industry == '' || industry == undefined) {
            alert("请填写要推荐公司名称的行业类型");
            return;
        }
        window.location.href = "{:U('Jylist/index')}?jy=" + $('#trade_tj').val();
    }
</script>
<script type="text/javascript">

    function mycop(str) {
        // 创建元素用于复制
        var aux = document.createElement("input");
        // 获取复制内容
        var valueStr = document.getElementById(str).innerHTML;
        // 设置元素内容
        aux.setAttribute("value", valueStr);
        // 将元素插入页面进行调用
        document.body.appendChild(aux);

        // 复制内容
        aux.select();
        // 将内容复制到剪贴板
        document.execCommand("copy");
        // 删除创建元素
        document.body.removeChild(aux);
        alert("复制成功!");
    }
</script>

<script>
    function refresh() {
        var str = '';
        $.ajax({
            url: '{:U("Jylist/dataGet")}',
            data: {jy: $('#trade_tj').val()},
            dataType: 'json',
            type: 'post',
            success: function (data) {
                console.log(data);
                for (var i = 0; i < data.length; i++) {
                    str +=
                        '<div class="jyfw_ttj">' +
                        '    <div class="jyfw_tj1">推荐' + (i + 1) + '</div>' +
                        '    <div class="jyfw_tj2">' +
                        '        <div id="select1">' + data[i].span + '</div>' +
                        '        <br/>' +
                        '        <div class="jyfw_tj22">参考公司：<a href="javascript:void(0);"' +
                        '                                       onclick="submitDet(0)">' + data[i].name + '</a>' +
                        '            <div id="jyfwbox">' +
                        '                <p><b>公 司 名 ：</b>' + data[i].name + '</p>' +
                        '                <p><b>注册地址：</b>' + data[i].address + '</p>' +
                        '                <p><b>法人姓名：</b>' + data[i].boss + '</p>' +
                        '                <p><b>注册资本：</b>' + data[i].basement + '</p>' +
                        '                <p><b>经营范围：</b>' + data[i].span +
                        '                </p>' +
                        '            </div>' +
                        '        </div>' +
                        '    </div>' +
                        '    <div class="jyfw_tj3"><a href="javascript:void(0);" onclick="mycop(\'select1\')">复制</a></div>' +
                        '</div>';
                }

                str+=
                    '<div class="huan" data-type="2" style=" margin-top:60px; clear:both; background:#f8931c" onclick="refresh()">' +
                    '    <i class="iconfont">&#xe663;</i>换一批' +
                    '</div>'
                $('.wrapper_left1').eq(0).html(str);
            }
        })
    }

    refresh();
</script>
</body>


</html>
